package com.dao;

import com.pojo.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {

	List<Role> findAll();

	Role findById(Integer id);

	int insert(Role role);

	int update(Role role);

	int deleteById(Integer id);

}
